#ifndef CACHE_H
#define CACHE_H

#include <vector>
#include <string>
using std::string;

#include "value.h"
#include "default.h"

class Cache
{
	public:
	Cache();
	~Cache();

	Value get( uint32 );
	Value get( string );
	uint32 add( Value );
	string add_get( Value );
	uint32 size();
	void clear();

	private:
	std::vector< Value > values_;
};

#endif
